package com.ihg.hiex.entity.session.before.finaltest;

import com.demo2do.core.utils.Alias;

/**
 *
 * @author Ark
 *
 */
@Alias("FinalTestStatus")
public enum FinalTestStatus {

    NOTSTARTED("未开始"),
    
    PROCESSING("进行中"),
    
    FINISH("已完成");
    
    private String description;

    /**
     * @param description
     */
    private FinalTestStatus(String description) {
        this.description = description;
    }
    
    /**
     * @return
     */
    public String getDescription() {
        return description;
    }
    
    /**
     * @return
     */
    public boolean isNotStarted() {
        return this.equals(NOTSTARTED);
    }
    
    /**
     * @return
     */
    public boolean isFinish() {
        return this.equals(FINISH);
    }
    
}
